package com.kintreda.ieco_server.util;

import java.io.File;
import java.math.BigDecimal;

/**
 * 公共参数
 * 
 * @author HuangZhongYao
 *
 */
public class Parameters {

	//二维码log路径
//	public static String LOG = "D:/home/qrcode/log.jpg";
	public static String LOG = "/home/qrcode/log.jpg";
	//文件上传路径
	public static String uploadBasePath = File.separator+"home"+ File.separator+"upload"+File.separator;
//	public static String uploadBasePath = "D:"+ File.separator+"home"+File.separator+"upload"+File.separator;
	//文件下载路径 需要在tomcat下配置
	public static String downloadBasePath = "xxxx";
	//云服务器路径
	public static String  yunPath="";

	 //允许上传的文件格式
    public static final String docExts = "doc|docx|xls|xlsx|pdf|tar|zip|apk|war|gz";
    public static final String imgExts = "jpg|png|gif|bmp|jpeg";


    /****IECO系统 规则配置****/
    public static final String APPID = "wx0c117bc0c66e2b5a";
    public static final String SECRET = "66628e89147b0adbe4e5c15ea5757dd9";
    public static final String KEY = "odVcF5qhPJEXS9ePxaLoADIKfknEodVc";
    public static final String MCH_ID = "1535825761";

    //不当使用行为扣除收益百分比
    public static  final Integer RATE = 5;
    //环保袋价格 单位分
    public static final BigDecimal SACK_PRICE=new BigDecimal(10*100);

	/**
	 * 螺丝帽
	 *
	 */
	public static final String MSGKEY = "dec196a3867ea99a915b2ce344f7a3ac";


}